package domain;

public class Course {
    private String id;
    private String courseName;
    private String location;
    private String time;
    private Teacher teacher;

    public Course(String id, String courseName, String location, String time) {
        this.id = id;
        this.courseName = courseName;
        this.location = location;
        this.time = time;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public String getId() {
        return id;
    }

    public String getCourseName() {
        return courseName;
    }

    public String getLocation() {
        return location;
    }

    public String getTime() {
        return time;
    }
}